//
//  ModelOfHotCommunityData.m
//  FreeTravel
//
//  Created by 徐康 on 16/9/10.
//  Copyright © 2016年 KX. All rights reserved.
//

#import "ModelOfHotCommunityData.h"

@implementation ModelOfHotCommunityData
- (void)setValue:(id)value forKey:(NSString *)key{
    [super setValue:value forKey:key];
    NSMutableArray *arr = [NSMutableArray array];
    if ([key isEqualToString:@"id"]) {
        self.ID = [value integerValue];
    }if ([key isEqualToString:@"reply_num"]) {
        self.reply_num = [value integerValue];
    }if ([key isEqualToString:@"is_hot"]) {
        self.is_hot = [value integerValue];
    }if ([key isEqualToString:@"is_best"]) {
        self.is_best = [value integerValue];
    }if ([key isEqualToString:@"bigpic_arr"]) {
        for (NSString *string in value) {
            [arr addObject:string];
        }
        self.bigpic_arr = arr;
    }
}
@end
